package com.itheima.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * 知识库-运动库
 */
public class KnowledgeSport implements Serializable {
    private Integer id;//主键
    private String code;//运动助记码
    private String name;//运动名称
    private String time;//运动次数
    private String date;//运动时间

    public KnowledgeSport(Date date, int i) {
    }

    public KnowledgeSport() {
    }

    public KnowledgeSport(Integer id, String code, String name, String time, String date) {
        this.id = id;
        this.code = code;
        this.name = name;
        this.time = time;
        this.date = date;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }
}
